/**
 * 表单权限
 */
export class Authority {
    id: number;
    name: string;
    seniorId: number;
    read: number;
    write: number;
    fields: Authority[] = []
    constructor(options: {
        id?: number;
        name?: string;
        seniorId?: number;
        read?: number;
        write?: number;
        fields?: Authority[];
    } = {}) {
        this.id = options.id;
        this.name = options.name;
        this.seniorId = options.seniorId;
        this.read = options.read;
        this.write = options.write;
        this.fields = options.fields;
    }
}